Home } Page Details } Focus OnLoad



You can easily put the user's cursor inside a text box (calling giving the text box focus) as soon as the page is loaded. This helps ensure that visitors do not 'overlook' an important form item on your site. Only 1 line of code!
Name:

JavaScript Source Code 2002: Page Details: Focus OnLoad

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!